<template>
  <div class="app-container">
    <div class="set-box">
      <div class="website-title">邮箱设置</div>
      <el-form :inline="true" :model="informationForm" label-position="right" label-width="100px" class="demo-form-inline">
        <el-form-item label="邮箱账号">
          <el-input v-model="informationForm.title" placeholder="请输入邮箱账号" />
        </el-form-item>
        <el-form-item label="邮箱密匙">
          <el-input v-model="informationForm.title" placeholder="请输入邮箱密匙" />
        </el-form-item>
        <el-form-item label="邮箱端口">
          <el-input v-model="informationForm.title" placeholder="请输入邮箱端口" />
        </el-form-item>
        <el-form-item label="邮箱服务器">
          <el-input v-model="informationForm.title" placeholder="请输入邮箱服务器" />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" @click="onSubmit">保存设置</el-button>
          <el-button>重置设置</el-button>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Adminrole',
  // components: { Pagination },
  data() {
    return {
      informationForm: {
        title: ''
      },
      setForm: {
        title: '',
        value: false
      },
      fileList: []
    }
  },
  created() {
  },
  methods: {
    onSubmit() {
      console.log('submit!')
    },
    handleRemove(file, fileList) {
      console.log(file, fileList)
    },
    handlePreview(file) {
      console.log(file)
    }
  }
}
</script>
<style scoped lang="scss">
  [class^=el-icon-], [class*=" el-icon-"]{
    font-size: 16px;
  }
  ::v-deep .el-form--inline .el-form-item{
    width: calc(50% - 100px);
    margin-right: 100px;
    &:nth-child(even){
      margin-right: 0;
    }
    &:last-child{
    width: calc(100% - 100px);
  }
  }
  ::v-deep .el-form-item--medium .el-form-item__content{
    width: calc(100% - 100px);
  }
  ::v-deep .el-input--medium .el-input__inner{
    height: 40px;
    line-height: 40px;
  }
  ::v-deep .el-form-item__label{
    color: #303133;
    font-weight: normal;
    line-height: 40px;
  }
  ::v-deep .set-box{
    .el-form-item__label{
       line-height: 22px;
    }
    .el-form-item{
      display: flex;
      align-items: center;
      width: calc(100% - 100px);
    }
   .el-form-item--medium .el-form-item__content{
    margin-left: 0!important;
   }
  }
  .website-title{
    font-weight: 700;
    color: #191919;
    font-size: 20px;
    font-family: Source Han Sans CN-Bold, Source Han Sans CN;
    padding-bottom: 20px;
  }
</style>
